using System;
using System.Collections.Generic;
using EP.Base.BaseService.Manager.Model.Entity;

namespace EP.Base.BaseService.Manager.Interface.Data
{    
	/// <summary>
    /// TaskRunLog 接口
    /// </summary>
     public interface ITaskRunLogs
    {

		/// <summary>
		/// 添加TaskRunLog
		/// </summary>
		/// <param name="taskrunlog"></param>
		/// <returns></returns>
		long Add(TaskRunLog taskrunlog);
		/// <summary>
       /// 修改TaskRunLog
       /// </summary>
       /// <param name="taskrunlog"></param>
       /// <returns></returns>
       int Update(TaskRunLog taskrunlog);
		/// <summary>
		/// 根据id获取TaskRunLog
		/// </summary>
		/// <param name="id"></param>
		/// <returns></returns>
		TaskRunLog Get(long id);
		/// <summary>
		/// 根据id删除TaskRunLog
		/// </summary>
		/// <param name="id"></param>
		/// <returns></returns>
		Int32 Delete(long id);
		/// <summary>
		/// 根据ids删除TaskRunLog多条记录
		/// </summary>
		/// <param name="ids"></param>
		/// <returns></returns>
		Int32 Deletes(long[] ids);
		/// <summary>
       /// 获取TaskRunLog分页列表
       /// </summary>
       /// <param name="pageIndex">页码</param>
       /// <param name="pageSize">每页显示条数</param>
       /// <param name="beginTime">开始时间</param>
       /// <param name="endTime">结束时间</param>
       /// <param name="recordCount">总记录数</param>
       /// <returns>TaskRunLog列表</returns>
       List<TaskRunLog> GetPageList(int pageIndex, int pageSize, DateTime? beginTime, DateTime? endTime, out int recordCount);
	  
		/// <summary>
		/// 获取所有TaskRunLog
		/// </summary>
		/// <returns></returns>
		List<TaskRunLog> GetAll();
    }
}
